.root {
  position: fixed;
  background-color: #ffffff;
  background-clip: padding-box;
  border-radius: 8px;
  box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
  padding: 12px;
  min-width: 200px;
  max-height: 400px;
  overflow: auto;
}

.group {
  &:not(:last-child) {
    margin-bottom: var(--vd-spacing-xs);
  }

  .groupName {
    font-size: 12px;
    font-weight: bold;
    color: var(--vd-color-gray-600);
    margin-bottom: 4px;
  }
}

.item {
  display: flex;
  gap: var(--vd-spacing-xs);
  align-items: center;
  padding: 4px;
  cursor: pointer;
  border-radius: 3px;

  &:not(:last-child) {
    margin-bottom: 2px;
  }

  &:hover,
  &.selected {
    background-color: var(--vd-color-gray-100);
  }

  .icon {
    font-size: 20px;
    padding: 8px;
    background-color: var(--vd-color-gray-100);
    border-radius: 4px;
    border: 1px solid var(--vd-color-gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.empty {
  color: var(--vd-color-gray-600);
  text-align: center;
}
